<%@ page import="service.MetaverseService" %>
<%@ page import="service.impl.MetaverseServiceImpl" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    int id = Integer.parseInt(request.getParameter("id"));
    MetaverseService metaverseService = new MetaverseServiceImpl();
    if (metaverseService.delete(id)){
        request.getRequestDispatcher("ListPage.jsp").forward(request,response);
    }else {
        request.getRequestDispatcher("ListPage.jsp").forward(request,response);
    }
%>
